//
//  Contents.m
//  22-QQ音乐MV界面
//
//  Created by dllo on 16/8/12.
//  Copyright © 2016年 DM.C. All rights reserved.
//

#import "Contents.h"
#import "List.h"
@implementation Contents
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"list"]) {
        NSMutableArray *arr = [NSMutableArray array];
        NSArray *valueArray = value;
        for (NSDictionary *dic in valueArray) {
            List *list = [List modelWithDic:dic];
            [arr addObject:list];
        }
        _list  = arr;
    }
}
@end
